package com.zhengxin.one.mapper;

import com.zhengxin.one.entity.Record;
import com.zhengxin.one.entity.client.RecordAdd;
import com.zhengxin.one.entity.excel.RecordExportExcel;
import org.springframework.stereotype.Component;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Component
public interface RecordMapper {
    //获取历史记录
   public List<Record> getRecord(String company_id,int page,int size,String start_time,String end_time,String keyword,String service_type,String status,String handle_type);
   //导出
   public List<RecordExportExcel> getRecords(String company_id,String start_time, String end_time, String keyword, String service_type, String handle_type, String status);
   //获取单人历史记录详情
    public HashMap<String,Object> getOneSo(String service_type, String handle_type, String id_card);
    //撤销操作
    int getReBack(String service_type,String handle_type,String id_card);
    //添加历史记录
    int setPerson(RecordAdd recordAdd);
}
